<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/user/showconfig" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <form action="{:URL('admin/User/addField')}" method="POST">
      <div class="page-hd">
        <h1>{$Think.lang.add}{$Think.lang.field}</h1>
      </div>
      <div class="tabitem">
        <div class="datas">
          <div class="datas-bd">
            <table class="table">
              <php>
                foreach ($list as $keys => $values) { foreach ($alist as $key => $value) { if($key == $values['fieldkey']) {
              </php>
              <tbody class="r1 r3">
                <tr>
                  <td>
                    <label>{$values['fieldname']}</label>
                  </td>
                  <td>
                    <input class="input-text" type="text" name="{$values['fieldkey']}" value="{$value}" />
                  </td>
                  <php>
                    } } }
                  </php>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
      <div class="actions">
        <input class="btn btn-y" type="submit" value="{$Think.lang.addNode}" />
        <a href="{:URL('admin/User/dataConfig')}" class="btn btn-n">{$Think.lang.cancel}</a>
      </div>
  </div>
  </form>
  </div>
</body>

</html>
